import java.util.ArrayList;
import java.util.List;

public class size {
    public static void main(String[] args) {
        List<A> list = new ArrayList<>();
        for(int i=0;i<1000;i++)
            list.add(new A(i));

        System.out.println(list.size());

    }
}
class A {
    int a=0;

    public A(int a) {
        this.a = a;
    }
}